package main

// Author : CSR丶WARRIOR
// Time ： 2020/10/12  22:06
// TOOLS : GoLand
// FILENAME : returnValue1.go
// STATEMENT: 函数返回值(单个值)
func getResult(a int, b int) (int, int) {
	return a + b, 0
}
func getResult2(a int, b int) (sum int) {
	sum = a + b
	return sum
}
func main() {
	var res int = getResult2(4, 7)
	println(res) //11
}
